package com.wlsk.license.dto.request;

import com.wlsk.license.dto.ChannelOrderDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class OpenUploadOrderInfoReqDto {

    @NotEmpty(message = "渠道业务ID不能为空")
    @ApiModelProperty(value = "渠道业务ID", required = true)
    private String channelBusinessId;

    @NotEmpty(message = "渠道编号不能为空")
    @ApiModelProperty(value = "渠道编号(运调：YD)", required = true)
    private String channelNumber = "YD";

    @ApiModelProperty(value = "渠道名称(运调系统)")
    private String channelName = "运调系统";

    @NotEmpty(message = "渠道订单详情不能为空")
    @ApiModelProperty(value = "渠道订单详情", required = true)
    private ChannelOrderDetail orderDetail;
}
